Repository navigation
Style: regroup the argument lists that were one per line - #295
Merged
Merged
Conversation
Calls that wrote one argument to a line now put their arguments in logical groups, each line within 80 columns: the command, call and source on one line, then the skip, take, options, configuration and captures on the next. The same for the row-reader, stream and chunk-config calls of the mapped query. Whitespace only: the tokens of the four files are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Style only: argument lists that were written one per line are regrouped. A call that fits in about 80 columns with
=>on its own line stays on one line; a longer one is broken into logical groups (_command, _call, _source,then_skip, _take, options, Config, _captures). One argument per line stays for nothing but chains of two or more dotted calls.28 call sites in four files:
MappedDbQuery.cs(5),MappedQuery.cs(15:WithOptions,WithConfig,WithSkip,WithTake,UsePool, the reader, stream,TryFirst/TrySinglecalls, the chunk and stall streams),MappedQuery.Capture.cs(3) andMappedViews.cs(5).No behavior change
Checks
dotnet formatstyle and analyzers at info severity: 0 findings on all 28 checks. DocFX: 0 warnings.Not touched: the other one-per-line lists in
Source/, which are older than this change; they can be swept separately.🤖 Generated with Claude Code